package com.cms.setting.friendlink.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.cms.framework.utils.page.PageView;
import com.cms.setting.friendlink.pojo.Friendlink;
import com.cms.setting.friendlink.pojo.dto.FriendlinkDTO;

public interface FriendlinkDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(Friendlink record);

    int insertSelective(Friendlink record);

    Friendlink selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Friendlink record);

    int updateByPrimaryKeyWithBLOBs(Friendlink record);

    int updateByPrimaryKey(Friendlink record);
    
    List<Friendlink> selectByPage(@Param("pageView")PageView<FriendlinkDTO> pageView,@Param("friendlinkDTOParams")FriendlinkDTO friendlinkDTOParams);
}